import Title from "ant-design-vue/es/typography/Title";
import { createRouter, createWebHashHistory } from "vue-router";

// 统一声明路由
const routes = [
    {
        path: '/',
        component: () => import('@/views/Index.vue'),
        meta: {
            title: 'AI 机器人首页' 
        }
    }
]

// 创建路由
const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router